﻿using System.Collections.Generic;
using Spotted.Web.Data.Entities;
using Spotted.Web.Data.Result;

namespace Spotted.Web.Data.DataProvider
{
    public interface IUserDataProvider
    {
        /// <summary>
        /// Create a User with standard registration information
        /// </summary>
        /// <param name="newUser">The model containing data for the new user</param>
        /// <returns></returns>
        CreateUserResult CreateUser(User newUser);

        /// <summary>
        /// Return a complete listing of all users
        /// </summary>
        /// <returns></returns>
        IList<User> GetAllUsers();
    }
}
